############################################################################
# CMakeLists.txt
# author:suka
# create:2020.10.1
############################################################################

set(SOURCE_FILES_CXX
	ffmpeg_test.cpp
)
set(SOURCE_FILES_OBJC )


set(SOURCE_FILES
	${SOURCE_FILES_CXX}
)
list(APPEND LIBS
	${FFMPEG_LIBRARIES}
)

add_executable(${EXPORT_TARGETS_NAME} ${SOURCE_FILES})
target_link_libraries(${EXPORT_TARGETS_NAME}  ${LIBS} ${FREETYPE_LIBRARIES} ${HARFBUZZ_LIBRARIES} )
string(REPLACE ";" " " LINK_FLAGS_STR "${LINK_FLAGS}")
if(LINK_FLAGS_STR)
	set_target_properties(${EXPORT_TARGETS_NAME} PROPERTIES LINK_FLAGS "${LINK_FLAGS_STR}")
endif()
	install(TARGETS ${EXPORT_TARGETS_NAME}
		RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
		LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
		ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
		PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
	)


